﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="WorkLogView.aspx.cs" Inherits="ITOMMS.Web.InsideManage.WorkLogView" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>工作日志查看</title>
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" id='skin' type="text/css" href="../css/skin/qq/ymPrompt.css" />
    <link rel="stylesheet" id='Link1' type="text/css" href="../css/jquery.Validator.Tooltip.css" />

    <script type="text/javascript" src="../js/jquery.pack.js"></script>

    <script type="text/javascript" src="../js/jquery.Validator.js"></script>

    <script type="text/javascript" src="../js/ymPrompt.js"></script>

    <!--用到日期控件才使用-->

    <script language="javascript" type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>

</head>
<body>
    <form id="aspnetForm" runat="server">
        <table class="tblDataArea" width="100%" style="text-align: left;">
            <tr class="tblQueryArea">
                <td class="tblDataCaption" colspan="10">
                    <div style="width: 210px;" class="title">
                        <img src="../images/lv3.gif" style="margin-bottom: -3px;" />工作日志</div>
          <asp:Button ID="btnSave" CssClass="cssButton" runat="server" Text="返回" OnClick="btnSave_Click"/></tr>
            <tr>
                <td class="tdQueryCaption">
                    姓名：</td>
                <td class="tdQueryField" colspan="3">
                    <asp:TextBox ID="txt姓名" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" ReadOnly="True"></asp:TextBox></td>
                <td class="tdQueryCaption">
                    职位：</td>
                <td class="tdQueryField" colspan="2">
                    <asp:TextBox ID="txt职位" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" ReadOnly="True"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    部门：</td> 
                <td class="tdQueryField" colspan="3">
                    <asp:DropDownList ID="ddl部门" runat="server" Enabled="False">
                    </asp:DropDownList></td>
                <td class="tdQueryCaption">
                    日期：</td>
                <td class="tdQueryField" colspan="2">
                    <asp:TextBox ID="txt日期" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout=''" onmousemove="this.className='input_move'"
                        onmouseout="this.className='input_out'" ReadOnly="True"></asp:TextBox></td>
            </tr>
        </table>
        <hr />
        <asp:DataList ID="DataList1" runat="server" Width="100%">
            <ItemTemplate>
                <table class="tblDataArea" width="100%" style="text-align: left;">
                    <tr>
                        <td class="tdQueryCaption">
                            客户名称：</td>
                        <td class="tdQueryField">
                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("客户名称", "{0}") %>'></asp:Label></td>
                        <td class="tdQueryCaption">
                            重要级别：</td>
                        <td class="tdQueryField">
                            <asp:Label ID="Label1" runat="server" Text='<%# GetSatatus(Eval("重要级别").ToString()) %>'></asp:Label></td>
                        <td class="tdQueryCaption">
                            工作性质：</td>
                        <td class="tdQueryField">
                            <asp:Label ID="Label3" runat="server" Text='<%# GetWorkType(Eval("工作性质").ToString()) %>'></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="tdQueryCaption">
                            接报时间：</td>
                        <td class="tdQueryField">
                            <asp:Label ID="Label4" runat="server" Text='<%# Eval("接报时间", "{0:yyyy-MM-dd HH:mm:ss}") %>'></asp:Label></td>
                        <td class="tdQueryCaption">
                            到场时间：</td>
                        <td class="tdQueryField">
                            <asp:Label ID="Label5" runat="server" Text='<%# Eval("到场时间", "{0:yyyy-MM-dd HH:mm:ss}") %>'></asp:Label></td>
                        <td class="tdQueryCaption">
                            消耗时间：</td>
                        <td class="tdQueryField">
                            <asp:Label ID="Label6" runat="server" Text='<%# Eval("消耗时间")%>'></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="tdQueryCaption">
                            工作内容：</td>
                        <td class="tdQueryField" colspan="5">
                            <textarea id="Label7" cols="20" rows="2"  style="width:600px; height:80px" readonly="readonly"><%# Eval("工作内容", "{0}") %></textarea></td>
                    </tr>
                </table>
            </ItemTemplate>
            <SeparatorTemplate>
                <hr />
            </SeparatorTemplate>
        </asp:DataList>
    </form>
</body>
</html>
